function asyncFunction () {
    return new Promise(function (resolve, reject) {
        setTimeout(() => {
            resolve('Async Hello world')
        }, 16);
    })
}

asyncFunction().then(function (value) {
    console.log('val + ', value); // Async Hello world
}).catch (function (error) {
    console.log(error);
})